Classic Arcade Game Clone

Game Functions

Criteria Meet Specification

Error Free

The game functions correctly and runs error free

  • Player can not move off screen
  • Vehicles cross the screen
  • Vehicle-player collisions happen logically (not too early or too late)
  • Vehicle-player collision resets the game
  • Something happens when player wins

Object-Oriented Code

Criteria Meet Specification

Object Oriented Code

Game objects (player and vehicles) are implemented using JavaScript object-oriented programming features, and should encapsulate all properties and methods necessary for game functions.

For example, Player objects require x, y, and sprite properties. Enemy objects should have those three properties in addition to a speed property.

Documentation

Criteria Meet Specification

README

A README file is included detailing all steps required to successfully run the application.

Comments

Comments are present and effectively explain longer code procedures. As a rule of thumb: describe what all custom functions and object methods do.

Code Quality

Code is formatted with consistent, logical, and easy-to-read formatting as described in the Udacity JavaScript Style Guide.